﻿CKEDITOR.editorConfig = function( config )
{
	// Define changes to default configuration here. For example:
	//config.language = 'fr'; //设置语言风格   fr法语
	//config.uiColor = '#AADC6E';//修改边框颜色
	//config.uiColor = '#FFCC00';//修改边框颜色
	config.uiColor = '#ffeebb';//修改边框颜色
	config.toolbar = 'MyToolbar';  
	//config.toolbar = 'Full';  
	//config.toolbar = 'Basic'; 
	//设置宽高
	config.width = 850;
	config.height = 400;
	//工具栏是否可以被收縮
	config.toolbarCanCollapse = true;

	config.language = 'zh-cn'; // 配置语言
	
	config.toolbar_Full =   
	[   
		['Source','-','Save','NewPage','Preview','-','Templates'],   
		['Cut','Copy','Paste','PasteText','PasteFromWord','-','Print', 'SpellChecker', 'Scayt'],   
		['Undo','Redo','-','Find','Replace','-','SelectAll','RemoveFormat'],   
		['Form', 'Checkbox', 'Radio', 'TextField', 'Textarea', 'Select', 'Button', 'ImageButton', 'HiddenField'],   
		'/',   
		['Bold','Italic','Underline','Strike','-','Subscript','Superscript'],   
		['NumberedList','BulletedList','-','Outdent','Indent','Blockquote','CreateDiv'],   
		['JustifyLeft','JustifyCenter','JustifyRight','JustifyBlock'],   
		['BidiLtr', 'BidiRtl'],   
		['Link','Unlink','Anchor'],   
		['Image','Flash','Table','HorizontalRule','Smiley','SpecialChar','PageBreak','Iframe'],   
		'/',   
		['Styles','Format','Font','FontSize'],   
		['TextColor','BGColor'],   
		['Maximize', 'ShowBlocks','-','About']   
	];   

	config.toolbar_Basic =   
	[   
		['Bold', 'Italic', '-', 'NumberedList', 'BulletedList', '-', 'Link', 'Unlink','-','About']   
	]; 
	config.toolbar_MyToolbar =   
	[   
        ['NewPage','Preview'],   
        ['Cut','Copy','Paste','PasteText','PasteFromWord','-','Scayt'],   
        ['Undo','Redo','-','Find','Replace','-','SelectAll','RemoveFormat'],  
        ['JustifyLeft','JustifyCenter','JustifyRight','JustifyBlock'],   
        ['Image','Flash','Table','HorizontalRule','Smiley','SpecialChar','PageBreak'],   
        '/',   
        ['Styles','Format','Font','FontSize'],   
        ['Bold','Italic','Strike'],   
        ['NumberedList','BulletedList','-','Outdent','Indent','Blockquote'],   
        ['Link','Unlink','Anchor'],   
        ['Maximize','-']   
	];
	
	config.font_names='宋体/宋体;黑体/黑体;仿宋/仿宋_GB2312;楷体/楷体_GB2312;' +
    '隶书/隶书;幼圆/幼圆;微软雅黑/微软雅黑;'+ config.font_names;
	//wangdong
	config.fontSize_sizes='8/8px;9/9px;10/10px;11/11px;12/12px;14/14px;16/16px;18/18px;20/20px;22/22px;24/24px;';
	
};
